import { lazy } from "react";
import { Navigate } from "react-router-dom";
const SeekingMedicalAttentiondetail = lazy(() => import("../pages/Seekingmedicalattentiondetail"));
const City = lazy(() => import("../pages/City"));
const Search = lazy(() => import("../pages/Search"));
const Alldepartments = lazy(() => import("../pages/Alldepartments"));
const Expertr = lazy(() => import('../pages/Expertr'))
// 寻医页面所有路由
const SeekingMedicalAttention = [
  {
    path: "/seekingmedicalattentiondetail/:id/:tabIndex",
    element: <SeekingMedicalAttentiondetail />,
  }, {
    path: "/city",
    element: <City />,
  }, {
    path: "/search",
    element: <Search />,
  }, {
    path: "/alldepartments",
    element: <Alldepartments />,
  },
  {
    path: "/expertr",
    element: <Expertr />,
  },
];


export default SeekingMedicalAttention;
